﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChongJu.EventManager.ExchangePage
{
    public class ExchangePageEvent
    {
        /// <summary>
        /// 切换用户控件页面
        /// </summary>
        public static event Action<string> ExchangeUCEventReport;
        public static void OnExchangeUC(string page)
        {
            ExchangeUCEventReport?.Invoke(page);
        }



        public static event Action<PageEnum> ExchangePageEventReportNew;
        public static void OnExchangePageNew(PageEnum page)
        {
            ExchangePageEventReportNew?.Invoke(page);
        }
    }
}
